<link rel="stylesheet" href="__STATIC__/home/css/login.css">
<!--登录框注册框-->
<div id="login">
    <!--登录框-->
    <div class="login">
        <div class="login_close" onclick="close_login('login')">
            <i class="layui-icon">&#x1006;</i>
        </div>
        <p class="login_title"><i class="layui-icon">&#xe612;</i>用户登录</p>
        <form class="layui-form" action="" onsubmit="return false">
            <div class="layui-form-item">
                <label class="layui-form-label"><i class="layui-icon">&#xe66f;</i></label>
                <div class="layui-input-block">
                    <input type="text" name="phone" maxlength="11" placeholder="手机号码" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><i class="layui-icon">&#xe673;</i></label>
                <div class="layui-input-block">
                    <input type="password" name="password" maxlength="30" placeholder="请输入密码" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <button class="layui-btn" onclick="user_login()">立即登录</button>
            </div>
            <a href="#" class="tips layui-col-xs6" onclick="change_windows('login','forget_pass')">忘记密码?</a>
            <a href="#" class="tips layui-col-xs6" style="text-align: right" onclick="change_windows('login','register')">现在去注册<i class="layui-icon">&#xe602;</i></a>
        </form>
    </div>
</div>
<div id="register">
    <!--注册框-->
    <div class="register">
        <div class="login_close" onclick="close_login('register')">
            <i class="layui-icon">&#x1006;</i>
        </div>
        <p class="register_title"><i class="layui-icon">&#xe612;</i>用户注册</p>
        <form class="layui-form" action="" onsubmit="return false">
            <div class="layui-form-item">
                <label class="layui-form-label"><font color="red">*</font>手机号</label>
                <div class="layui-input-block">
                    <input type="text" name="phone" maxlength="11" placeholder="手机号码" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><font color="red">*</font>短信验证码</label>
                <div class="layui-input-block">
                    <input style="width: 55%;float: left" maxlength="6" type="text" name="verifycode" placeholder="短信验证码" class="layui-input">
                    <button class="layui-btn" id="get_code1" onclick="send_sms(0)">免费获取</button>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><font color="red">*</font>密码</i></label>
                <div class="layui-input-block">
                    <input type="password" name="password" maxlength="30" placeholder="请输入密码" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><font color="red">*</font>密码确认</i></label>
                <div class="layui-input-block">
                    <input type="password" name="re_password" maxlength="30" placeholder="请在填写一遍密码" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><font color="red">*</font>真实姓名</i></label>
                <div class="layui-input-block">
                    <input type="text" name="real_name" placeholder="按本人有效身份证件填写" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><font color="red">* </font>身份证号码</i></label>
                <div class="layui-input-block">
                    <input type="text" name="idcard" placeholder="请输入身份证号码" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <button class="layui-btn" onclick="register()">立即注册</button>
            </div>
            <a href="#" class="tips layui-col-xs6" onclick="change_windows('register','login')"><i class="layui-icon">&#xe603;</i>已有账号，立即登录</a>
        </form>
    </div>
</div>
<div id="forget_pass">
    <!--找回密码-->
    <div class="forget_pass">
        <div class="login_close" onclick="close_login('forget_pass')">
            <i class="layui-icon">&#x1006;</i>
        </div>
        <p class="forget_pass_title"><i class="layui-icon">&#xe612;</i>找回密码</p>
        <form class="layui-form" action="" onsubmit="return false">
            <div class="layui-form-item">
                <label class="layui-form-label"><font color="red">*</font>手机号</label>
                <div class="layui-input-block">
                    <input type="text" name="phone" maxlength="11" placeholder="手机号码" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><font color="red">*</font>短信验证码</label>
                <div class="layui-input-block">
                    <input style="width: 55%;float: left" maxlength="6" type="text" name="verifycode" placeholder="短信验证码" class="layui-input">
                    <button class="layui-btn" id="code2" style="width: 40%;height: 38px;line-height: 38px;float: right;margin: 0"  onclick="send_sms(1)">免费获取</button>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><font color="red">*</font>密码</i></label>
                <div class="layui-input-block">
                    <input type="password" name="password" placeholder="请输入密码" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><font color="red">*</font>密码确认</i></label>
                <div class="layui-input-block">
                    <input type="password" name="re_password" placeholder="请在填写一遍密码" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <button class="layui-btn" onclick="forget_pass()">找回密码</button>
            </div>
            <a href="#" class="tips layui-col-xs6 layui-col-xs-offset6" style="text-align: right" onclick="change_windows('forget_pass','login')">立即登录<i class="layui-icon">&#xe602;</i></a>
        </form>
    </div>
</div>